import React from "react";
import { Link } from "react-router-dom";
import { Button } from "antd";
import "./order.scss";

function R503() {
  return (
    <div className="error-page">
      <div className="error-code">
        5<span>0</span>3
      </div>
      <div className="error-desc">啊哦~ 你没有权限访问该页面哦</div>
      <div className="error-handle">
        <Link to="/equipent">
          <Button type="primary" size="large">
            返回首页
          </Button>
        </Link>

        <Button
          className="error-btn"
          type="primary"
          size="large"
          onClick={() => window.history.go(-2)}
        >
          返回上一页
        </Button>
      </div>
    </div>
  );
}

export default R503;
